<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
    /**
    * 未选择菜单
    */
    .unselected {
        color: grey;
    }

    /**
    * 消息列表
    */
    div.correct-list {
        border-style: solid solid solid solid;
        padding: 1% 1% 1% 1%;
        margin-bottom: 5px;
    }

    div.wrong-list {
        border-style: solid solid solid solid;
        padding: 1% 1% 1% 1%;
        margin-bottom: 5px;
        border-color: #EF7178;
    }

    div.null-list {
        border-style: solid solid solid solid;
        padding: 1% 1% 1% 1%;
        margin-bottom: 5px;
        border-color: #9B9B9B;
    }

    div.list:hover {
        background-color: #FFF5EE;
        cursor: pointer;
    }

    /**
    * 提交按键
    */
    .submit {
        width: 20%;
        height: 40px;
        margin: 1% 0 1% 0;
        font-size: 18px;
    }
</style>
<h3 class="text-center">专项资金建设项目</h3>
<hr>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="tabbable" id="tabs-847798">
                <ul class="nav nav-tabs" id="tablist-1" role="tablist">
                    <li role="tab"
                        style="width:50%;text-align:center;font-size:20px;">
                        <a href="#panel-1" data-toggle="tab" onclick="selectTab(this, 0)"
                           style="color:#FF8888;border-bottom-color:#FF8888;"
                        >项目申报
                        </a>
                    </li>
                    <li role="tab"
                        style="width:50%;text-align:center;font-size:20px;"><a href="#panel-2" data-toggle="tab" class="unselected" onclick="selectTab(this, 0)"
                    >项目进度填报</a></li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane active" id="panel-1">
                        <h3>审报模板下载</h3>
                        <hr>
                        <div class="null-list container" style="width: 97.5%;overflow: hidden;">
                            <div id="projectSelectDropDown" class="container" style="font-size:18px;width: 120px;float:left;">选择项目类型</div>
                            <div class="btn-group">
                                <button id="selectTitle" class="btn">项目类型</button> <button data-toggle="dropdown" class="btn dropdown-toggle" onclick="loadProjectSelect()"><span class="caret"></span></button>
                                <ul class="dropdown-menu">
                                    <li><a href="#" onclick="projectTempletSelect(0)">中央资金支持的项目</a></li>
                                    <li><a href="#" onclick="projectTempletSelect(1)">省级资金支持的项目</a></li>
                                    <li><a href="#" onclick="projectTempletSelect(2)">市级资金支持的项目</a></li>
                                    <li><a href="#" onclick="projectTempletSelect(3)">民办资金支持的项目</a></li>
                                    <li><a href="#" onclick="projectTempletSelect(4)">其他项目</a></li>
                                </ul>
                            </div>
                            <button id="download_1" class="btn btn-primary btn-large" style="float:right;margin-right: 0%;">下载模版
                            </button>
                            </div>
                            <h3>项目填报</h3>
                            <hr>
                            <div class="null-list container" style="width: 97.5%;overflow: hidden;">
                                <div class="container" style="font-size:18px;width: 45%;float:left;">项目名称</div>
                                <div class="container"
                                     style="font-size:18px;text-align:right;width: 45%;float:right;"><input id="projectName"
                                                                                                            type="text"
                                                                                                            onblur="inputOnBlur(this);">
                                </div>
                            </div>
                            <div class="null-list container" style="width: 97.5%;overflow: hidden;">
                                <div class="container" style="font-size:18px;width: 45%;float:left;">项目负责人</div>
                                <div class="container"
                                     style="font-size:18px;text-align:right;width: 45%;float:right;"><input id="projectManager"
                                                                                                            type="text"
                                                                                                            onblur="inputOnBlur(this);">
                                </div>
                            </div>
                            <div class="null-list container" style="width: 97.5%;overflow: hidden;">
                                <div class="container" style="font-size:18px;width: 45%;float:left;">项目简介</div>
                                <div class="container"
                                     style="font-size:18px;text-align:right;width: 45%;float:right;"><input id="projectDescription"
                                                                                                            type="text"
                                                                                                            onblur="inputOnBlur(this);">
                                </div>
                            </div>
                            <div class="null-list container" style="width: 97.5%;overflow: hidden">
                                <div class="container" style="font-size:18px;width: 45%;float:left;">申报材料</div>
                                <div class="container"
                                     style="font-size:18px;text-align:right;width: 45%;float:right;"><span
                                        id='projectFile' style="width: 300px;"></span>
                                    <button
                                            class='btn btn-large btn-info ' onclick='chooseFile(this)'
                                            style='margin-left:1%;'>选择文件
                                    </button>
                                    <input id="project_declare_file" onchange='selectFile(this)' type='file'
                                           style='display:none;'></div>
                        </div>
                        <div align="center">
                            <button onclick="addProjectDeclare()" class="btn btn-primary submit disable">确认并提交审核</button>
                        </div>
                    </div>
                    <div class="tab-pane" id="panel-2">
                        <h3>项目进度填报</h3>
                        <hr>
                        <div class="null-list container" style="width: 97.5%;overflow: hidden;">
                            <div id="projectSelectDrop" class="container" style="font-size:18px;width: 11%;float:left;">选择项目名称</div>
                            <div class="btn-group">
                                <button id="proectSelectTitle" class="btn">项目名称</button> <button data-toggle="dropdown" class="btn dropdown-toggle" onclick="loadProjectSelect()"><span class="caret"></span></button>
                                <ul class="dropdown-menu">
                                    <li><a href="#" onclick="projectTempletSelect(0)">中央资金支持的项目</a></li>
                                </ul>
                            </div>
                        </div>
                        <div class="null-list container" style="width: 97.5%;overflow: hidden;">
                            <div class="container" style="font-size:18px;width: 45%;float:left;">项目申报人</div>
                            <div class="container"
                                 style="font-size:18px;text-align:right;width: 45%;float:right;"><input id="declarer"
                                                                                                        type="text"
                                                                                                        onblur="inputOnBlur(this);">
                            </div>
                        </div>
                        <div class="null-list container" style="width: 97.5%;overflow: hidden;">
                            <div class="container" style="font-size:18px;width: 45%;float:left;">进度申报人电话</div>
                            <div class="container"
                                 style="font-size:18px;text-align:right;width: 45%;float:right;"><input id="declarer_phone"
                                                                                                        type="text"
                                                                                                        onblur="inputOnBlur(this);">
                            </div>
                        </div>
                        <div class="null-list container" style="width: 97.5%;overflow: hidden;">
                            <div class="container" style="font-size:18px;width: 45%;float:left;">当前进度</div>
                            <div class="container"
                                 style="font-size:18px;text-align:right;width: 45%;float:right;"><input id="current_progress"
                                                                                                        type="number"
                                                                                                        onblur="inputOnBlur(this);">
                            </div>
                        </div>
                        <div class="null-list container" style="width: 97.5%;overflow: hidden">
                            <div class="container" style="font-size:18px;width: 45%;float:left;">项目已完成的部分</div>
                            <div class="container"
                                 style="font-size:18px;text-align:right;width: 45%;float:right;"><span
                                    id='completed_file' style="width: 300px;"></span>
                                <button
                                        class='btn btn-large btn-info ' onclick='chooseFile(this)'
                                        style='margin-left:1%;'>选择文件
                                </button>
                                <input id="project_completed_file" onchange='selectFile(this)' type='file'
                                       style='display:none;'></div>
                        </div>
                        <div align="center">
                            <button onclick="addProjectDeclare()" class="btn btn-primary submit disable">确认并提交审核</button>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>